package com.sxbbc.common.core.mapper.jz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sxbbc.common.core.entity.jz.CFreezePointDetail;

/**
 * <p>
 * 用户冻结积分明细表 Mapper 接口
 * </p>
 *
 * @author xiaoky
 * @since 2019-07-14
 */
public interface CFreezePointDetailMapper extends BaseMapper<CFreezePointDetail> {

    /**
     * 根据解冻天数 状态 冻结业务类型查询
     * @param dayTimes 解冻天数
     * @param status 状态
     * @param type 冻结业务类型
     * @author leehao
     * @return java.util.List<?>
     */
    List<CFreezePointDetail> queryFreezeListByType(@Param("dayTimes") Integer dayTimes,
                                                   @Param("status") Integer status, @Param("type") Integer type);
    
    /**
     * 查询用户冻结积分明细列表
     * @param param 查询条件
     * @return IPage
     * @author xiaoky
     */
    IPage<CFreezePointDetail> queryCustomerFreezePointList(IPage<CFreezePointDetail> page, @Param("param") CFreezePointDetail param);
}
